package base.thread.staticProxy;

/**
 * @Author: my_code
 * @Create: 2020-12-07 13:44
 */
public class Person implements Marry {
    private String gentleman;
    private String lady;

    public Person(String gentleman, String lady) {
        this.gentleman = gentleman;
        this.lady = lady;
    }

    @Override
    public void happyMarry() {
        System.out.println("祝" + gentleman + " " + lady + "百年好合");
    }
}
